#ifndef QUEUE_H
#define QUEUE_H

#include <stdbool.h>

struct queue * queue_init();
void queue_fini(struct queue *);
int queue_add(struct queue *, void *);
int queue_peek(struct queue *, void **);
int queue_remove(struct queue *, void **);
bool queue_is_empty(struct queue *);

#endif /* QUEUE_H */
